Script: --Example by Brian Molyneaux, Heizer Software¬--on windowEvent wdID,wdName,objNo,objName,objValue¬¬if objValue="Open" then ¬ wsSet wdID,"1","Text",laListe¬ put true into GCorne¬ put empty into GSubSelec¬ if there is a window "Recherche" then¬ wsSet "Recherche","0","Visible","False"¬ end if¬ if there is a window "MultiRecherches" then¬ wsSet "MultiRecherches","0","Visible","False"¬ end if¬ if there is a window "CombiRecherches" then¬ wsSet "CombiRecherches","0","Visible","False"¬ end if¬else if objValue="Close" then¬ if there is a window "Recherche" then¬ wsSet "Recherche","0","Visible","True"¬ end if¬ if there is a window "MultiRecherches" then¬ wsSet "MultiRecherches","0","Visible","True"¬ end if¬ if there is a window "CombiRecherches" then¬ wsSet "CombiRecherches","0","Visible","True"¬ end if¬ ¬else if objValue="Suspend" then ¬ ¬else if objValue="Resume" then ¬ ¬else if objValue="CloseBox" then ¬ ¬else if objValue="ZoomBox" then ¬ ¬else if objValue="GrowBox" then ¬ ¬else if objValue="TitleBar" then ¬ ¬end if¬¬--end windowEvent¬
ItemType: POP
Rect: 2,2,156,20
AutoSize: FALSE
WhiteColor: -8739,-8739,-8739
Text: laListe
Script: --on mouseUp wdID,wdName,objNo,objName,objValue¬put the short id of this cd into ICI¬get wsGet(wdID,"1","SELECTIONText",laListe)¬if it is empty then¬ beep¬else if it is "Recherche infructueuse" then¬ beep¬else¬ put word 1 of it into goTo¬ if goTo ≠ ici then go cd id goTO¬end if¬¬--wsSet wdID,1,"SELECTION",0¬--end mouseUp¬